package com.zhentao.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 序列号表
 * @TableName yd_serial_number
 */
@TableName(value ="yd_serial_number")
@Data
public class YdSerialNumber implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 产品表id
     */
    @TableField(value = "material_id")
    private Long materialId;

    /**
     * 仓库id
     */
    @TableField(value = "depot_id")
    private Long depotId;

    /**
     * 序列号
     */
    @TableField(value = "serial_number")
    private String serialNumber;

    /**
     * 是否卖出，0未卖出，1卖出
     */
    @TableField(value = "is_sell")
    private String isSell;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 删除标记，0未删除，1删除
     */
    @TableField(value = "delete_flag")
    private String deleteFlag;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "creator")
    private Long creator;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 更新人
     */
    @TableField(value = "updater")
    private Long updater;

    /**
     * 入库单号
     */
    @TableField(value = "in_bill_no")
    private String inBillNo;

    /**
     * 出库单号
     */
    @TableField(value = "out_bill_no")
    private String outBillNo;

    /**
     * 租户id
     */
    @TableField(value = "tenant_id")
    private Long tenantId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}